<HTML>
<HEAD>
<title>DBMaker.Maker.closeOnJvmShutdown - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">org.mapdb</a>&nbsp;/&nbsp;<a href="../index.html">DBMaker</a>&nbsp;/&nbsp;<a href="index.html">Maker</a>&nbsp;/&nbsp;<a href=".">closeOnJvmShutdown</a><br/>
<br/>
<h1>closeOnJvmShutdown</h1>
<a name="org.mapdb.DBMaker.Maker$closeOnJvmShutdown()"></a>
<code><span class="keyword">fun </span><span class="identifier">closeOnJvmShutdown</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Maker</span></a></code><br/>
<p>Adds JVM shutdown hook and closes DB just before JVM;</p>
<p><strong>Return</strong><br/>
this builder</p>
<br/>
<br/>
</BODY>
</HTML>
